<template>
  <!-- 已排程 -->
  <div class="scheduled">
    <div class="title">共200条记录，共计100吨</div>

    <el-table v-loading="loading" ref="multipleTable" :data="tableData" tooltip-effect="dark">
      <el-table-column label="序号" width="55" align="center">
        <template slot-scope="scope">{{ scope.$index + 1 }}</template>
      </el-table-column>
      <el-table-column prop="name" label="料单编号" align="center"></el-table-column>
      <el-table-column prop="name" label="订单编号" align="center"></el-table-column>
      <el-table-column prop="name" label="分部分项" align="center"></el-table-column>
      <el-table-column prop="name" label="料单名称" align="center"></el-table-column>
      <el-table-column prop="name" label="构件类型" align="center"></el-table-column>
      <el-table-column prop="name" label="总重量(t)" align="center"></el-table-column>
      <el-table-column prop="name" label="加工进度" align="center"></el-table-column>
      <el-table-column prop="date" label="订单需用日期" align="center"></el-table-column>
      <el-table-column prop="date" label="料单首次排程时间" align="center" width="125"></el-table-column>
      <el-table-column prop="date" label="料单上传时间" align="center"></el-table-column>
      <el-table-column prop="name" label="料单上传人" align="center"></el-table-column>
      <el-table-column label="操作" align="center" width="120">
        <template v-slot="scope">
          <el-button size="mini" type="text" @click="seeTable(scope.row)">查看</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: 'Scheduled',
  components: {},
  props: {},
  data() {
    return {
      loading: false,
      tableData: [
        {
          date: "2016-05-03",
          name: "王小虎",
          value: '0'
        },
        {
          date: "2016-05-02",
          name: "王小虎",
          value: '0'
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          value: '0'
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          value: '0'
        },
        {
          date: "2016-05-08",
          name: "王小虎",
          value: '1'
        },
        {
          date: "2016-05-06",
          name: "王小虎",
          value: '1'
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          value: '1'
        },
      ],
    }
  },
  filters: {},
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  beforeDestroy() {},
  methods: {
    seeTable(row) {
      console.log(row)
    },
  }
}
</script>

<style scoped lang="less">
</style>
